<template>
<div class="Home">
    <homeCpn :homeCpninfo = this.info></homeCpn>
    <!--foot-->
</div>
</template>

<script>
import {homeMyInfo} from '@/network/home/home'

import homeCpn from './homeCpn/homeContent/homeCpn'

export default {
    name: "Home",
    data(){
        return{
            info:''
        }
    },
    components:{
        homeCpn,
        
    },
    created(){
        homeMyInfo().then( res => {
            this.info = res.data.result[0]
            //console.log(res)
        }).catch( err => {
            console.log(err)
        })
    }
   

}
</script>

<style scoped>
.Home{
    background: url(~@/assets/img/common/home/about-bg.jpg);
    padding-top: 5px;
}
</style>